import { Button as AntdButton } from 'antd';
import {ButtonProps} from "./dev.tsx";


const Button = ({ type, text,styles,...props}: ButtonProps) => {
    return (
        <AntdButton type={type} style={styles} {...props as any} >{text}</AntdButton>
    )
}

export default Button;
